package servlet;

import java.util.HashMap;

import server.WebServer;

public class MySession {
	
	public MySession(String sessinId){
		this.sessinId = sessinId;
		attributes = new HashMap<String,Object>();
	}
	
	private String sessinId;
	private HashMap<String,Object> attributes;
	
	public void setAttribute(String name, Object value){
		attributes.put(name, value);
	}
	public Object getAttribute(String name){
		return attributes.get(name);
	}

}
